package com.exhr.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Tpost entity. @author MyEclipse Persistence Tools
 */

public class Tpost implements java.io.Serializable {

	// Fields

	private Integer posid;
	private Tpost tpost;
	private Tdepartment tdepartment;
	private String posname;
	private Integer posnum;
	private String posduty;
	private String posrelate;
	private String posright;
	private String poscondition;
	private String posnote;
	private Set tposts = new HashSet(0);
	private Set temployees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tpost() {
	}

	/** full constructor */
	public Tpost(Tpost tpost, Tdepartment tdepartment, String posname,
			Integer posnum, String posduty, String posrelate, String posright,
			String poscondition, String posnote, Set tposts, Set temployees) {
		this.tpost = tpost;
		this.tdepartment = tdepartment;
		this.posname = posname;
		this.posnum = posnum;
		this.posduty = posduty;
		this.posrelate = posrelate;
		this.posright = posright;
		this.poscondition = poscondition;
		this.posnote = posnote;
		this.tposts = tposts;
		this.temployees = temployees;
	}

	// Property accessors

	public Integer getPosid() {
		return this.posid;
	}

	public void setPosid(Integer posid) {
		this.posid = posid;
	}

	public Tpost getTpost() {
		return this.tpost;
	}

	public void setTpost(Tpost tpost) {
		this.tpost = tpost;
	}

	public Tdepartment getTdepartment() {
		return this.tdepartment;
	}

	public void setTdepartment(Tdepartment tdepartment) {
		this.tdepartment = tdepartment;
	}

	public String getPosname() {
		return this.posname;
	}

	public void setPosname(String posname) {
		this.posname = posname;
	}

	public Integer getPosnum() {
		return this.posnum;
	}

	public void setPosnum(Integer posnum) {
		this.posnum = posnum;
	}

	public String getPosduty() {
		return this.posduty;
	}

	public void setPosduty(String posduty) {
		this.posduty = posduty;
	}

	public String getPosrelate() {
		return this.posrelate;
	}

	public void setPosrelate(String posrelate) {
		this.posrelate = posrelate;
	}

	public String getPosright() {
		return this.posright;
	}

	public void setPosright(String posright) {
		this.posright = posright;
	}

	public String getPoscondition() {
		return this.poscondition;
	}

	public void setPoscondition(String poscondition) {
		this.poscondition = poscondition;
	}

	public String getPosnote() {
		return this.posnote;
	}

	public void setPosnote(String posnote) {
		this.posnote = posnote;
	}

	public Set getTposts() {
		return this.tposts;
	}

	public void setTposts(Set tposts) {
		this.tposts = tposts;
	}

	public Set getTemployees() {
		return this.temployees;
	}

	public void setTemployees(Set temployees) {
		this.temployees = temployees;
	}

}